#ifndef __QUICKSORTITEMTYPE_H__
#define __QUICKSORTITEMTYPE_H__

#include <iostream>
using namespace std;

static enum line {START, AFTER_FIRST, AFTER_SECOND};

class QuicksortItemType
{
	int m_line;
	int m_index;
	int m_right , m_left;

public:
	//Geters
	int getLine() const {return m_line;}
	int getIndex() const {return m_index;}
	int getLeft() const {return m_left;}
	int getRight() const {return m_right;}

	//Seters
	void set (int left , int right , int line = START){m_left = left;m_right = right;m_line = line;}
	void setLine(int line) {m_line = line;}
	void setIndex(int index) {m_index = index;}

	//C'tors and D'tors
	QuicksortItemType(){m_right = 0;m_left = 0;m_index = 0;m_line = 0;}
	QuicksortItemType(int right , int left , int line = START , int index = 0){m_right = right;m_left = left;m_index = index;m_line = line;}
	~QuicksortItemType() {}
};

#endif